body {
    font-size: 0.8em;
    font-family: "Verdana", Helvetica, sans-serif;
    padding: 0;
    margin: 0;
}

a:hover {
    text-decoration: none;
}

.jsInfo {
    display: none;
}

#footer {
    font-size: 0.7em;
    margin: 2em 0 0;
}

#body {
    margin: 0 1em 1em;
}

#workoutSummary {
    width: 35%;
    float: right;
    margin: 1em 0 0;
    clear: none;
}

#workoutSummary div {
    padding: 0 1em;
}

#workoutSummary h2 {
    margin: 0;
}

#workoutView {
    clear: none;
    margin: 1em 35% 0 0;
    border-right: 1px dotted #666;
    padding: 0 1.2em 0 0;
}

#workoutView table {
    width: 100%;
}

h1, h2, h3, h4 {
    font-family: "Trebuchet MS";
}

h2 {
    font-size: 1.5em;
}

.textversion {
    display: none;
}


#header ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#userInfo {
    position: absolute;
    right: 0;
    top: 0.4em;
}

#userInfo li {
    display: block;
    float: left;
    border-left: 1px solid black;
    padding: 0 0.4em;
}

#userInfo li:first-child {
    border-left: none;
    font-weight: bold;
}

#header {
    height: 80px;
    margin: 0;
    padding: 0;
    position: relative;
}

html>body #header {
    height: auto;
    min-height: 80px;
}

h1 {
    font-size: 1.2em;
    position: absolute;
    left: 1em;
    bottom: 0.2em;
    margin: 0;
    color: #666;
}


h1 span {
    position: absolute;
    bottom: 0;
    left: 0;
    background-image: url('/site_media/athletelog/images/main_icon.png');
    display: block;
    width: 250px;
    height: 55px;
}

#mainMenu {
    position: absolute;
    right: 2em;
    bottom: 0;
    font-size: 1.1em;
    font-family: "Trebuchet MS", sans-serif;
}

#mainMenu li {
    display: block;
    float: left;
    padding: 0;
}

#mainMenu a {
    display: block;
    text-decoration: none;
    padding: 0.2em 0.4em;
    color: white;
    background-color: lightsteelblue;
    font-weight: bold;
    border-right: 4px solid white;
}

#mainMenu li.active a {
    background-color: steelblue;
    font-weight: bold;
    color: white;
}

#mainMenu a:hover {
    background-color: midnightblue;
}

.pagerMenu {
    list-style: none;
    margin: 0.4em 0;
    padding: 0;
    position: relative;
    text-align: right;
    width: 100%;
    height: 1px;
}

html>body .pagerMenu {
    height: auto;
    width: auto;
}

.pagerMenu li {
    display: inline;
    padding: 0;
    margin-left: 0.4em;
}

.pagerMenu .previous {
    border-right: 1px solid black;
    padding-right: 0.9em;
}

.pagerMenu .previous a:before {
    content: "< ";
    
}

.pagerMenu .next a:after {
    content: " >";
}

#viewSelection {
    background-color: steelblue;
    color: white;
    margin: 0;
    padding: 0.5em;
    border: 0.4em solid steelblue;
}

#viewSelection fieldset {
    margin: 0;
    padding: 0;
}

#viewSelection select, #viewSelection input {
    margin-right: 0.5em;
}

fieldset {
    border: none;
}

#weeklyView tbody td {
    padding: 0.05em 0.5em;
}

#weeklyView thead th, #monthlyView thead th {
    background-color: #E9E9FF;
    text-align: left;
    padding: 0.05em 0.5em;
}

#weeklyView tbody th {
    font-size: 1.8em;
    font-weight: bold;
    font-family: "Trebuchet MS", sans-serif;
    color: #999;
    text-align: center;
    padding: 0.2em 0.5em;
    width: 1.5em;
}

#weeklyView tbody th span {
    font-size: 0.5em;
    color: black;
    display: block;
}

#weeklyView tbody td.phase {
    width: 1em;
    text-align: center;
}

#weeklyView tbody td.type {
    width: 3em;
}

#weeklyView tbody td.km {
    width: 1em;
    text-align: right;
}

#weeklyView tbody td {
    border-top: 1px dotted #999;
}

#weeklyView tbody tr.highlighted td, #weeklyView tbody tr.highlighted th {
    background-color: #E9E9FF;
}


#weeklyView tbody tr.firstFromDay td, #weeklyView tbody tr.firstFromDay th {
    border-top: 1px solid gray;
}

#weeklyView tr.firstFromPhase td, #weeklyView tr.firstFromPhase th {
    border-top: 1px solid #999;
}

#weeklyView, #monthlyView {
    margin: 0;
    border-bottom: 1px solid gray;
}

#monthlyView {
    width: 100%;
}

#monthlyView tbody td ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#monthlyView .day {
    font-family: "Trebuchet MS", sans-serif;
    font-size: 1.4em;
    font-weight: bold;
    color: #666;
}

#monthlyView tbody td, #monthlyView tbody th {
    padding: 0.3em;
    border-top: 1px solid gray;
}
#monthlyView tbody td {
    border-left: 1px dotted gray;
}

#monthlyView .km {
    color: #666;
}

#monthlyView tbody th {
    font-family: "Trebuchet MS", sans-serif;
    padding: 0.35em;
}
